package mars.beans;

public class Film {
	private int id;
	private String cname;
	private float duration;
	private int publishdate;
	private String introduct;
	private String cate_names;
	private float state;
	private String releasetime;
	private float score;
	private int total_hit;
	private String created;
	private String updated;
	private String address;
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getCname() {
		return cname;
	}
	public void setDuration(float duration) {
		this.duration = duration;
	}
	public float getDuration() {
		return duration;
	}
	public void setPublishdate(int publishdate) {
		this.publishdate = publishdate;
	}
	public int getPublishdate() {
		return publishdate;
	}
	public void setIntroduct(String introduct) {
		this.introduct = introduct;
	}
	public String getIntroduct() {
		return introduct;
	}
	public void setCate_names(String cate_names) {
		this.cate_names = cate_names;
	}
	public String getCate_names() {
		return cate_names;
	}
	public void setReleasetime(String releasetime) {
		this.releasetime = releasetime;
	}
	public String getReleasetime() {
		return releasetime;
	}
	public void setState(float state) {
		this.state = state;
	}
	public float getState() {
		return state;
	}
	public void setScore(float score) {
		this.score = score;
	}
	public float getScore() {
		return score;
	}
	public void setTotal_hit(int total_hit) {
		this.total_hit = total_hit;
	}
	public int getTotal_hit() {
		return total_hit;
	}
	public void setCreated(String created) {
		this.created = created;
	}
	public String getCreated() {
		return created;
	}
	public void setUpdated(String updated) {
		this.updated = updated;
	}
	public String getUpdated() {
		return updated;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getAddress() {
		return address;
	}
	@Override
	public String toString() {
		return "Film [id=" + id + ", cname=" + cname + ", duration=" + duration
				+ ", publishdate=" + publishdate + ", introduct=" + introduct
				+ ", cate_names=" + cate_names + ", state=" + state
				+ ", releasetime=" + releasetime + ", score=" + score
				+ ", total_hit=" + total_hit + ", created=" + created
				+ ", updated=" + updated + ", address=" + address + "]";
	}
	public String enumPropertyName(){
		return "id, cname, duration, publishdate, introduct, cate_names, state, releasetime"
				+ ", score, total_hit, created, updated, address";
	}
	public Object[] enumPropertyValue(){
		return new Object[]{id, cname, duration, publishdate, introduct, cate_names, state, releasetime
				, score, total_hit, created, updated, address};
	}
	public String enumPropertyLayout(){
		return "?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?";
	}
}
